package com.addplus.townmall.server.api.model.town.expand;

import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.addplus.townmall.server.api.model.town.DistributionPersonalStore;
import com.addplus.townmall.server.api.model.town.Member;
import com.addplus.townmall.server.api.model.town.MemberBankCard;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 分销申请入驻个人店铺表扩展类
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class DistributionPersonalStoreExpand extends DistributionPersonalStore {

    private static final long serialVersionUID = 1L;

    /**
     * 昵称
     */
    @TableField("nick_name")
    private String nickName;

    /**
     * 头像地址
     */
    @TableField("head_portrait")
    private String headPortrait;

    /**
     * 推荐用户主键id
     */
    @TableField("invite_member_id")
    private Integer inviteMemberId;

    /**
     * 推荐用户信息
     */
    @TableField("invite_member")
    private Member inviteMember;

    /**
     * 余额
     */
    private BigDecimal balance;
    /**
     * 银行卡账号
     */
    @TableField("card_account")
    private String cardAccount;
    /**
     * 银行卡持卡人姓名
     */
    @TableField("card_name")
    private String cardName;
    /**
     * 银行
     */
    @TableField("bank_name")
    private String bankName;

    String reason;

    /**
     * 手机验证码
     */
    String phoneValNum;
}
